GBML manual / Constants

SPRITECOLOR_NONE

No sprite color look: the color goes back to the one in the picture.

Works differently on Game Boy - On the Game Boy the look changes one shade of the sprite in bands (see sprite_color_look); one such look runs at a time.

Works differently on Game Boy Color - On the Game Boy Color the look's colors go row by row into one color of the sprite's palette (see sprite_color_look); one such row-by-row color runs at a time.

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

SPRITECOLOR_NONE: constant

<!-- GENERATED by tools/gbabel_looks.py from its LOOKS registry. Never edit this page: change the registry and re-run it. -->

Description

Names "no sprite color look", for sprite_color_look. Giving it to sprite_color_look switches the look off and hands its row-by-row slot straight back. The color goes back to the one in the sprite's picture.

This is how you turn a sprite color look off. There is nothing to hide or pause: off means the slot is free again.

Example

sprite_color_look(spr_doc_hero, 3, SPRITECOLOR_NONE, 0, 0);

Switches the look on color number 3 of the sprite off. The last two numbers are ignored when the look is NONE.

See also: sprite_color_lookSPRITECOLOR_FIRE